/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const router = {
    path: '/finance',
    component: Layout,
    name: 'finance',
    alwaysShow: true,
    meta: {
        title: '财务管理',
        icon: 'component'
    },
    children: [
        {
            path: '/finance/withdraw',
            component: () => import('@/views/finance/withdraw/withdrawlist'),
            name: 'withdrawlist',
            meta: {
                title: '提现申请'
            },

        },
        {
            path: '/finance/withdraw/flow/txsq.flow',
            component: () => import('@/views/finance/withdraw/detail.vue'),
            name: 'withdrawDetail',
            meta: {
                title: '提现申请详情'
            },
            hidden: true
        },
        {
            path: '/database/moneyAccount',
            component: () => import('@/views/database/moneyAccount/moneyAccountlist'),
            name: 'moneyAccountlist',
            meta: {
                title: '收支帐户'
            },

        },
        {
            path: '/finance/income',
            component: () => import('@/views/finance/income/incomelist'),
            name: 'incomelist',
            meta: {
                title: '收入'
            },

        },
        {
            path: '/finance/income/detail',
            component: () => import('@/views/finance/income/detail'),
            name: 'incomeDetail',
            meta: {
                title: '新增'
            },
            hidden: true
        },
        {
            path: '/finance/expenditure',
            component: () => import('@/views/finance/expenditure/expenditurelist'),
            name: 'expenditurelist',
            meta: {
                title: '支出'
            },

        },
        {
            path: '/finance/expenditure/detail',
            component: () => import('@/views/finance/expenditure/detail'),
            name: 'expenditureDetail',
            meta: {
                title: '新增'
            },
            hidden: true
        },
        /*   {
              path: '/finance/cashierpay',
              component: () => import('@/views/finance/cashierpay/cashierpayList'),
              name: 'cashierpayList',
              meta: {
                  title: '收营员交款'
              },
  
          }, {
              path: '/finance/cashierpay/detail',
              component: () => import('@/views/finance/cashierpay/detail'),
              name: 'cashierpayDetail',
              meta: {
                  title: '收营员交款'
              },
              hidden: true
          }, */





    ]
}

export default router
